package dao.impl;

import dao.OrderDao;
import repository.Order;

/**
 * Created by yuanj on 2018/4/17.
 */
public class OrderDaoImpl implements OrderDao {

  private int index;
  private String type;

  OrderDaoImpl(int index, String type) {
    this.index = index;
    this.type = type;
  }

  public int getIndex() {
    return index;
  }

  public void setIndex(int index) {
    this.index = index;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  @Override
  public String getOrder() {
    return new Order().toString();
  }
}
